<div class="lapnhoms view">
<h2><?php  __('Lapnhom');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $lapnhom['Lapnhom']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Monhoc'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($lapnhom['Monhoc']['id'], array('controller' => 'monhocs', 'action' => 'view', $lapnhom['Monhoc']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Giaovien'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($lapnhom['Giaovien']['id'], array('controller' => 'giaoviens', 'action' => 'view', $lapnhom['Giaovien']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Hknk'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($lapnhom['Hknk']['id'], array('controller' => 'hknks', 'action' => 'view', $lapnhom['Hknk']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaybd'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $lapnhom['Lapnhom']['ngaybd']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ngaykt'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $lapnhom['Lapnhom']['ngaykt']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Sửa', true), array('action' => 'edit', $lapnhom['Lapnhom']['id'])); ?> </li>
		<li><?php echo $html->link(__('Xóa', true), array('action' => 'delete', $lapnhom['Lapnhom']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $lapnhom['Lapnhom']['id'])); ?> </li>
		<li><?php echo $html->link(__('Danh sách nhóm đã lập', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Lập nhóm mới', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách môn thực hành', true), array('controller' => 'monhocs', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm môn thực hành', true), array('controller' => 'monhocs', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sach giáo viên', true), array('controller' => 'giaoviens', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm giáo viên', true), array('controller' => 'giaoviens', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách học kỳ niên khóa', true), array('controller' => 'hknks', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm học kỳ niên khóa', true), array('controller' => 'hknks', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Giáo viên hướng dãn nhóm thực hành', true), array('controller' => 'huongdans', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm giáo viên hướng dãn', true), array('controller' => 'huongdans', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('Danh sách nhóm thực hành', true), array('controller' => 'nhomths', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('Thêm nhóm thực hành mới', true), array('controller' => 'nhomths', 'action' => 'add')); ?> </li>
	</ul>
</div>
	<div class="related">
		<h3><?php  __('Related Huongdans');?></h3>
	<?php if (!empty($lapnhom['Huongdan'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Huongdan']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Giaovien Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Huongdan']['giaovien_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lapnhom Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Huongdan']['lapnhom_id'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa hướng dẫn', true), array('controller' => 'huongdans', 'action' => 'edit', $lapnhom['Huongdan']['id'])); ?></li>
			</ul>
		</div>
	</div>
		<div class="related">
		<h3><?php  __('Related Nhomths');?></h3>
	<?php if (!empty($lapnhom['Nhomth'])):?>
		<dl>	<?php $i = 0; $class = ' class="altrow"';?>
			<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Nhomth']['id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Lapnhom Id');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Nhomth']['lapnhom_id'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Nhom');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Nhomth']['nhom'];?>
&nbsp;</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Soluong');?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
	<?php echo $lapnhom['Nhomth']['soluong'];?>
&nbsp;</dd>
		</dl>
	<?php endif; ?>
		<div class="actions">
			<ul>
				<li><?php echo $html->link(__('Sửa nhóm thực hành', true), array('controller' => 'nhomths', 'action' => 'edit', $lapnhom['Nhomth']['id'])); ?></li>
			</ul>
		</div>
	</div>
	<div class="related">
	<h3><?php __('Related Huongdans');?></h3>
	<?php if (!empty($lapnhom['Huongdan'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Giaovien Id'); ?></th>
		<th><?php __('Lapnhom Id'); ?></th>
		<th class="actions"><?php __('Thao tác');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($lapnhom['Huongdan'] as $huongdan):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $huongdan['id'];?></td>
			<td><?php echo $huongdan['giaovien_id'];?></td>
			<td><?php echo $huongdan['lapnhom_id'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'huongdans', 'action' => 'view', $huongdan['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'huongdans', 'action' => 'edit', $huongdan['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'huongdans', 'action' => 'delete', $huongdan['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $huongdan['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm giáo viên hướng dẫn', true), array('controller' => 'huongdans', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
<div class="related">
	<h3><?php __('Related Nhomths');?></h3>
	<?php if (!empty($lapnhom['Nhomth'])):?>
	<table cellpadding = "0" cellspacing = "0">
	<tr>
		<th><?php __('Id'); ?></th>
		<th><?php __('Lapnhom Id'); ?></th>
		<th><?php __('Nhom'); ?></th>
		<th><?php __('Soluong'); ?></th>
		<th class="actions"><?php __('Thao tác');?></th>
	</tr>
	<?php
		$i = 0;
		foreach ($lapnhom['Nhomth'] as $nhomth):
			$class = null;
			if ($i++ % 2 == 0) {
				$class = ' class="altrow"';
			}
		?>
		<tr<?php echo $class;?>>
			<td><?php echo $nhomth['id'];?></td>
			<td><?php echo $nhomth['lapnhom_id'];?></td>
			<td><?php echo $nhomth['nhom'];?></td>
			<td><?php echo $nhomth['soluong'];?></td>
			<td class="actions">
				<?php echo $html->link(__('Hiển thị', true), array('controller' => 'nhomths', 'action' => 'view', $nhomth['id'])); ?>
				<?php echo $html->link(__('Sửa', true), array('controller' => 'nhomths', 'action' => 'edit', $nhomth['id'])); ?>
				<?php echo $html->link(__('Xóa', true), array('controller' => 'nhomths', 'action' => 'delete', $nhomth['id']), null, sprintf(__('Bạn có chắc muốn xóa không?', true), $nhomth['id'])); ?>
			</td>
		</tr>
	<?php endforeach; ?>
	</table>
<?php endif; ?>

	<div class="actions">
		<ul>
			<li><?php echo $html->link(__('Thêm nhóm thực hành mới', true), array('controller' => 'nhomths', 'action' => 'add'));?> </li>
		</ul>
	</div>
</div>
